package cruncher;

public class Variable {
	private String name = null;
	private String type = null;
	private double value;
	
	public Variable(String name, String typeInteger, double value) {
		this.name = name;
		this.type = typeInteger;
		this.value = value;
	}

	public boolean isInteger() {
		return type.equalsIgnoreCase(Utils.TYPE_INTEGER);
	}

	public String getName() {
		return name;
	}

	public double getValue() {
		return value;
	}

}
